withExternalParentNamed

fun <T : KoExternalParentProvider> List<T>.withExternalParentNamed(name: String, vararg names: String, indirectParents: Boolean = false): List<T>

List containing declarations that have at least one external parent with the specified name(s). The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations with at least one of the specified external parent(s).

Parameters

name

The name of the external parent to include.

names

The names of additional external parents to include.

indirectParents

Whether to include indirect external parents.


fun <T : KoExternalParentProvider> List<T>.withExternalParentNamed(names: Collection<String>, indirectParents: Boolean = false): List<T>

List containing declarations that have at least one external parent with the specified name(s). The external parent is a parent defined outside the project codebase (defined inside external library).

Return

A list containing declarations with at least one of the specified external parent(s).

Parameters

names

The names of additional external parents to include.

indirectParents

Whether to include indirect external parents.